package com.owen.springboot.smartparkingms.module.app.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.owen.springboot.smartparkingms.module.app.entity.ParkStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Owen
 * @since 2022-02-25
 */
@Mapper
public interface ParkStatusMapper extends BaseMapper<ParkStatus> {

    /**
     * mybatis-plus多表查询
     * @param page
     * @param wrapper
     * @return
     */
    IPage<ParkStatus> selectPageList(String description, IPage<ParkStatus> page, @Param(Constants.WRAPPER) Wrapper<ParkStatus> wrapper);
}
